<th:block th:fragment="fonts">
  <link rel="preconnect" href="https://fonts.googleapis.com" crossorigin />
  <link
    rel="stylesheet"
    href="https://fonts.googleapis.com/css?family=Source+Code+Pro|Ubuntu:400,700|Noto+Serif+SC|&display=swap&subset=chinese-simplified,chinese-traditional"
    media="print"
    onload="this.media='all'"
  />
</th:block>